package router

import (
	"api_gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(router *gin.RouterGroup) {
	{
		user := router.Group("user")
		{
			user.POST("register", api.Register)
			user.POST("upload", api.Upload)
			user.POST("addWorks", api.AddWorks)
		}
	}
}
